package ModeLayer;


/**
 * Write a description of class Owner here.
 * 
 * @author () 
 * @version (11-03-2013)
 */

/**
 * Exercise no. 6
 */
 public class Owner
{
 private String ownername;
 private String address;
 private int phonenumber;


public Owner(String newOwnerName, String newAddress, int newPhoneNumber)
{
 ownername = newOwnerName;
 address = newAddress;
 phonenumber = newPhoneNumber;
}

public Owner()
{
 ownername = "UCN";
 address = "Denmark";
 phonenumber = 259089;
}

/**
 * Exercise no. 7
 */

public void setOwnerName(String NewOwnerName)
{
 ownername = NewOwnerName;
}

public String getOwnerName()
{
 return ownername;
}

public void setAddress(String NewAddress)
{
 address = NewAddress;
}

public String getAddress()
{
 return address;
}

public void setPhoneNumber(int NewPhoneNumber)
{
 phonenumber = NewPhoneNumber;
}

public int getPhoneNumber()
{
 return phonenumber;
}

 
 
 }
